<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<script type="text/javascript" src="<%=basePath %>static/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="<%=basePath %>static/js/amazeui.min.js"></script>
<script type="text/javascript" src="<%=basePath %>static/js/json.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<link rel="stylesheet" href="<%=basePath %>static/css/amazeui.min.css" />
<link rel="stylesheet" href="<%=basePath %>static/css/wechat.css" />
	
	
<script>
	/**
	 * 妹纸UI提示信息
	 * @param text
	 * @return
	 */
	function alertText(text) {
	    var $modal = $('#my-alert');
	    var $text = $('#my-text');
	    $text.empty();
	    $text.text(text);
	    $modal.modal();
	}
</script>

	<div class="am-modal am-modal-alert" tabindex="-1" id="my-alert">
	  <div class="am-modal-dialog">
	    <div id="my-text" class="am-modal-bd">
	      Hello world！
	    </div>
	    <div class="am-modal-footer">
	      <span class="am-modal-btn">确定</span>
	    </div>
	  </div>
	</div>
